Fix a FTCBFS issue because of using AC_PATH_PROG
authorHelmut Grohne <helmut@subdivi.de>
Tue, 17 Mar 2026 14:23:03 +0000 (15:23 +0100)
committerAndreas Dolp <dev@andreas-dolp.de>
Tue, 17 Mar 2026 14:23:03 +0000 (15:23 +0100)
commit43f6575f31a41ea9c203f059c0cd2b20226ac89f
tree46a3c661bc572b1d3f69f7c8456dddd859b70d9a
parent34becf0d16cdada730a054b7327ae4451e48d3f3
Fix a FTCBFS issue because of using AC_PATH_PROG

Bug-Debian: https://bugs.debian.org/895996
Last-Update: 2025-07-11

This patch fixes a FTCBFS issue caused by using AC_PATH_PROG to
discover the location of pkg-config, which fails to select the
correct version on cross-compilations. The corresponding lintian
warning 'autotools-pkg-config-macro-not-cross-compilation-safe'
suggests to use PKG_PROG_PKG_CONFIG and $PKG_CONFIG instead.

Gbp-Pq: Name cross.patch
configure.ac